<!DOCTYPE html>
<br xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<br>
<span th:include="header :: head01"></span>
<span th:replace="header :: head01"></span>
<span th:insert="header :: head01"></span>
<div th:text="${hello}">我是被替换的</div>
<p th:text="${hello}">我是被替换的</p>
<a th:text="${hello}">我是被Text替换的</a></br>
<a th:utext="${hello}">我是被HTML替换的</a></br>
<input th:value="${hello}"/></br>
--------------------[[${hello}]]--------------</br>
竖着遍历写在tr里 横着遍历写在td里</br>
<table>
    <tr th:each="l,st:${list}">
        <td th:text="${st.count}"></td>
        <td>:</td>
        <td th:text="${l}"></td>
    </tr>
</table>
</br>
两种写法都可以啊
<div th:text="${num==10}?'是10':'不是10'"></div></br>
<div th:text="(${num}==10)?'是10':'不是10'"></div></br>
---------------------------------
<div th:if="${num==10}">是10</div>
<div th:unless="${num==10}">不是10</div>
---------------------------------
<div th:text="${session.ses}"></div></br>

<span th:include="header :: end"></span>
<span th:replace="header :: end"></span>
<span th:insert="header :: end"></span>
</body>
</html>